adTempus API
PreviousUpNext
IExecutionHistoryItems::Item Method

Retrieves the specified item

C++
HRESULT Item(VARIANT index, [out, retval] IExecutionHistoryItem ** pVal);
C#
Item(VARIANT index, [out, retval] IExecutionHistoryItem * pVal);
Visual Basic
Sub Item(index As VARIANT, pVal As [out, retval] IExecutionHistoryItem *)
Parameters 
Description 
[in] VARIANT index 
The ordinal or OID of the item to retrieve. The collection is 0-based: valid ordinals range from 0 to Count-1. 
[out, retval] IExecutionHistoryItem ** pVal 
The requested item, or NULL if the method fails 

If the ordinal is invalid or no object with the specified OID is found the method fails with error ADT_E_NOT_FOUND.

adTempus API Reference version 3.0.0.0, revised 10/30/2008